package com.gy.education.home;

import android.widget.TextView;

import com.gy.education.BaseActivity;
import com.gy.education.R;

/**
 * 作者：gy on 16/7/14
 * 说明：消息详情
 */
public class MessageDetailActivity extends BaseActivity {

    private TextView tvDetail;
    private String name,detail;

    @Override
    protected void initView() {
        setContentViewRes(R.layout.activity_message_detail);
        tvDetail = (TextView) findViewById(R.id.message_tv_detail);
    }

    @Override
    protected void initData() {
        name = getIntent().getStringExtra("name");
        detail = getIntent().getStringExtra("detail");
        setTitleMsg(name);
        tvDetail.setText(detail);
    }
}
